package com.isp.org.server.interfaces.model.menu.vo.response;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.isp.org.server.interfaces.model.menu.vo.MenuVO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

/**
 * @author linsy
 * @version 1.0
 * @created 2024/1/25 17:29
 */
@Data
@ApiModel("菜单树响应")
@EqualsAndHashCode(callSuper = true)
public class MenuTreeResponse extends MenuVO {

    @ApiModelProperty("子菜单")
    @JsonProperty("sub_menus")
    private List<MenuVO> subMenus;

}
